package user

import (
	"context"
	"grpc-common/api/user/asset"
	"user-api/internal/logic"
)

type assetLogic struct {
}

func NewAssetLogic() *assetLogic {
	return &assetLogic{}
}

//查询用户钱包信息

//为用户钱包充值

// 生成钱包
func (a *assetLogic) InsertWallet(ctx context.Context, req *asset.InsertWalletReq) (res *asset.MemberWallet, err error) {
	r, err := logic.RpcCli.AssetClient.InsertWallet(ctx, &asset.InsertWalletReq{
		CoinId: 0,
		UserId: 0,
	})
	return r, err
}
